package com.pwt.entity;

import io.swagger.v3.oas.annotations.media.Schema;
import com.pwt.entity.base.BaseEntity;
import javax.persistence.*;
import lombok.EqualsAndHashCode;
import lombok.Data;
import org.hibernate.annotations.DynamicInsert;
import org.hibernate.annotations.DynamicUpdate;


/**
 * 机器管理
 *
 * @author auto generated
 * @date 2021-08-31 12:03:28
 */
@EqualsAndHashCode(callSuper = true)
@Data
@Entity
@Table(name = "[machine_manage]")
@Schema(name = "机器管理")
@DynamicInsert
@DynamicUpdate
public class MachineManage extends BaseEntity {

	/**
	 * 机器名称
	 * nullable : true
	 * default  : null
	 */
	@Schema(name = "name",description = "机器名称")
	@Column(name = "name", nullable = true, length = 64)
	private String name;

	/**
	 * 工位
	 * nullable : true
	 * default  : null
	 */
	@Schema(name = "station",description = "工位")
	@Column(name = "station", nullable = true, length = 64)
	private String station;
}
